import routes, { noLayoutRoutes } from "@/config/routes";
import iconConfigs from "@/config/icons";
import appTheme from '@/config/theme';
import AppLayout from "@/layout/Wrapper";
import { ConfigProvider } from "antd";

const App = () => {
  return (
    <ConfigProvider theme={{ token: appTheme }}>
      <AppLayout
        routes={routes}
        icons={iconConfigs.menus}
        noLayoutRoutes={noLayoutRoutes}
      />
    </ConfigProvider>
  );
};

export default App;
